package com.taskScheduler.task;

import java.util.concurrent.atomic.AtomicLong;

public class FileTransferTask implements Runnable{
	private final AtomicLong taskId=new AtomicLong(0);
	private String srcIp;
    private String srcPort;
    private String srcFileName;
    private String dstIp;
    private String dstPort;
    public FileTransferTask(String srcIp,String srcPort,String srcFileName,String dstIp,String dstPort){
    	this.taskId.addAndGet(1);
    	this.srcIp=srcIp;
    	this.srcPort=srcPort;
    	this.srcFileName=srcFileName;
    	this.dstIp=dstIp;
    	this.dstPort=dstPort;
    }
	@Override
	public void run() {
		// TODO Auto-generated method stub
		
	}
	public AtomicLong getTaskId() {
		return taskId;
	}
	public String getSrcIp() {
		return srcIp;
	}
	public String getSrcPort() {
		return srcPort;
	}
	public String getSrcFileName() {
		return srcFileName;
	}
	public String getDstIp() {
		return dstIp;
	}
	public String getDstPort() {
		return dstPort;
	}

}
